<?php

require_once dirname(__FILE__) . '/../_data/LzSqlTest.php';

$sql    = new LzTestClass('LzSqlTest');

LzTests::ln(
        '[' . $sql->parseFields(array()) . ']',
        $sql->parseFields(array('foo')),
        $sql->parseFields(array('bar', 'baz')),
        $sql->parseFields(array('id', 'name' => 'john')),
        $sql->parseFields(array('count' => LzSql::raw('COUNT(*)')))
    );
var_dump($sql->data());

?>
---EXPECT---
[]
|foo|
|bar|, |baz|
|id|, :BIND0 |name|
COUNT(*) |count|
array(1) {
  ["BIND0"]=>
  string(4) "john"
}

